package com.yun.zf.system.service;

import com.yun.zf.common.admin.domain.SysUser;
import com.yun.zf.common.admin.domain.SysUserRole;

import java.util.List;

public interface SysUserRoleService {

    void  addUserRole(SysUser user);

    List<SysUserRole>  getUserRoleList(SysUser user);

    List<Long>  getRoleList(Long userId);

    List<Long> getRoleId(long userId);

    int delRolesByUserId(Long userId);

    int addRoles(Long userId, Long role_id);

    Boolean batchList (List<SysUserRole> userRoleList);
}
